v1.0
選択
選択フィルタですべてのエレメントを選択します。
oReturn = SelectAllUsingFilter( [SelFilter], [CheckComponentVisibility], [AffectSelectionList], [CheckObjectSelectability] ); |
SelectFlagがFalseの場合、オブジェクトを含むXSICollectionを戻します。
パラメータ | タイプ | 詳細 | ||||||
---|---|---|---|---|---|---|---|---|
SelFilter | FilterConstant | 使用する選択フィルタ
デフォルト値:現在選択されているフィルタ |
||||||
CheckComponentVisibility | siComponentVisibilityMode | コマンドを表示コンポーネントのみに適用すべきかどうかを指定します。
デフォルト値: siIgnoreComponentVisibility
|
||||||
AffectSelectionList | ブール | オブジェクトを選択する場合は True、オブジェクトのリストを戻す場合は False
デフォルト値: True |
||||||
CheckObjectSelectability | ブール | 選択不可としてマーキングされたオブジェクトを選択するかどうかを指定します。
デフォルト値: False
|
' Selects all objects. Objects that are already selected remain selected. SelectAllUsingFilter "object" ' Select all lights. This deselect anything that is not a light. SelectAllUsingFilter "light" ' Select all points on active objects SelectAllUsingFilter "Point" |
' Create a sphere, hide some polygons, deselect all polygons, select all using filter ' result = only the visible polygons are selected NewScene CreatePrim "Sphere", "MeshSurface" ActivatePolygonSelTool SelectGeometryComponents "sphere.poly[0-20]" SITogglePolygonVisibility DeselectAll SelectAllUsingFilter, siCheckComponentVisibility |